﻿namespace Baggr.FeedParser.Atom
{
    using System;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Xml;
    using System.Xml.Schema;
    using System.Xml.Serialization;

    [Serializable()]
    [DebuggerStepThrough()]
    [DesignerCategory("code")]
    [XmlType(Namespace = "http://www.w3.org/2005/Atom")]
    public class AtomContent
    {
        /// <summary>
        /// The any.
        /// </summary>
        /// <remarks>
        /// </remarks>
        [XmlText]
        [XmlAnyElement]
        public XmlNode[] Any { get; set; }

        /// <summary>
        /// The type.
        /// </summary>
        /// <remarks>
        /// </remarks>
        [XmlAttribute("type")]
        public string Type { get; set; }

        /// <summary>
        /// The src.
        /// </summary>
        /// <remarks>
        /// </remarks>
        [XmlAttribute("src", DataType = "anyURI")]
        public string Src { get; set; }
    }
}
